<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>用户管理系统-上海建桥学院</title>
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">用户管理系统</a>
        </div>
        <div>
            <ul class="nav navbar-nav">
                <li ><a href="/user/info">个人中心</a></li>
                <li class="active" ><a href="/user/users">管理员</a></li>
            </ul>
        </div>
    </div>
</nav>




<div class="panel panel-default">
    <div class="panel-heading">
        欢迎回来
    </div>
    <div class="panel-body">
        ${username!''}
    </div>
</div>



<div class="panel panel-default">
    <div class="panel-heading">
        用户列表
    </div>
    <div class="panel-body">

        <table class="table table-hover">
            <caption></caption>
            <thead>
            <tr>
                <th>用户ID</th>
                <th>用户名称</th>
                <th>年龄</th>
            </tr>
            </thead>
            <tbody>
            <#list userList as user >
            <tr>
                <td>${user.id!''}</td>
                <td>${user.username!''}</td>
                <td>${user.age!''}</td>
            </tr>
            </#list>

            </tbody>
        </table>

    </div>
</div>

</body>
</html>